
//
//  UITableViewFootview.m
//  DistributorAB
//
//  Created by 主事丫环 on 2019/5/22.
//  Copyright © 2019 主事丫环. All rights reserved.
//

#import "UITableViewFootview.h"

@implementation UITableViewFootview

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self = [[[NSBundle mainBundle] loadNibNamed:@"UITableViewFootview" owner:self options:nil] lastObject];
        self.frame = frame;
        if (iPhone5) {
            self.leftCont.constant = 5;
            self.priceLB.font = FontSize(12);
        }else{
            self.leftCont.constant = 16;
            self.priceLB.font = FontSize(18);
        }
    }
    return self;
}
- (IBAction)ceallaction:(UIButton *)sender {
    [HFTools callMobilePhone:_addphoneLB.text];
}

- (IBAction)fahuoaction:(UIButton *)sender {
    if (self.myblco) {
        self.myblco(@"");
    }
}


@end
